%% Created by Maple 15.00, Windows 7
%% Source Worksheet: maple.mw
%% Generated: Fri Apr 13 11:06:33 CEST 2012
% \documentclass{article}
% \usepackage{maplestd2e}
% \def\emptyline{\vspace{12pt}}
% \begin{document}
\pagestyle{empty}
\DefineParaStyle{Maple Heading 1}
\DefineParaStyle{Maple Text Output}
\DefineParaStyle{Maple Dash Item}
\DefineParaStyle{Maple Bullet Item}
\DefineParaStyle{Maple Normal}
\DefineParaStyle{Maple Heading 4}
\DefineParaStyle{Maple Heading 3}
\DefineParaStyle{Maple Heading 2}
\DefineParaStyle{Maple Warning}
\DefineParaStyle{Maple Title}
\DefineParaStyle{Maple Error}
\DefineCharStyle{Maple Hyperlink}
\DefineCharStyle{Maple 2D Math}
\DefineCharStyle{Maple Maple Input}
\DefineCharStyle{Maple 2D Output}
\DefineCharStyle{Maple 2D Input}
\begin{maplegroup}
\begin{mapleinput}
\mapleinline{active}{1d}{restart;
}{}
\end{mapleinput}
\end{maplegroup}
\begin{maplegroup}
\begin{mapleinput}
\mapleinline{active}{1d}{eq := A = gm * (Ro*ZC / (Ro+ZC));}{}
\end{mapleinput}
\mapleresult
\begin{maplelatex}
\mapleinline{inert}{2d}{eq := A = gm*Ro*ZC/(Ro+ZC)}{\[\displaystyle {\it eq}\, := \,A={\frac {{\it gm}\,{\it Ro}\,{\it ZC}}{{\it Ro}+{\it ZC}}}\]}
\end{maplelatex}
\end{maplegroup}
\begin{maplegroup}
\begin{mapleinput}
\mapleinline{active}{1d}{ZC := 1/(2*Pi*f*C);}{}
\end{mapleinput}
\mapleresult
\begin{maplelatex}
\mapleinline{inert}{2d}{ZC := 1/(2*Pi*f*C)}{\[\displaystyle {\it ZC}\, := \,1/2\,{\frac {1}{\pi \,fC}}\]}
\end{maplelatex}
\end{maplegroup}
\begin{maplegroup}
\begin{mapleinput}
\mapleinline{active}{1d}{A1 := 10\symbol{94}(-7.785/20);
}{}
\end{mapleinput}
\mapleresult
\begin{maplelatex}
\mapleinline{inert}{2d}{A1 := .4080844064}{\[\displaystyle {\it A1}\, := \, 0.4080844064\]}
\end{maplelatex}
\end{maplegroup}
\begin{maplegroup}
\begin{mapleinput}
\mapleinline{active}{1d}{A2 := 10\symbol{94}(-27.685/20);}{}
\end{mapleinput}
\mapleresult
\begin{maplelatex}
\mapleinline{inert}{2d}{A2 := 0.4128098012e-1}{\[\displaystyle {\it A2}\, := \, 0.04128098012\]}
\end{maplelatex}
\end{maplegroup}
\begin{maplegroup}
\begin{mapleinput}
\mapleinline{active}{1d}{C := 1e-12;
}{}
\end{mapleinput}
\mapleresult
\begin{maplelatex}
\mapleinline{inert}{2d}{C := 1.*10^(-12)}{\[\displaystyle C\, := \,{ 1.0000000000\times 10^{-12}}\]}
\end{maplelatex}
\end{maplegroup}
\begin{maplegroup}
\begin{mapleinput}
\mapleinline{active}{1d}{f1 := 40e6;
}{}
\end{mapleinput}
\mapleresult
\begin{maplelatex}
\mapleinline{inert}{2d}{f1 := 4.0*10^7}{\[\displaystyle {\it f1}\, := \, 40000000.0\]}
\end{maplelatex}
\end{maplegroup}
\begin{maplegroup}
\begin{mapleinput}
\mapleinline{active}{1d}{f2 := 400e6;
}{}
\end{mapleinput}
\mapleresult
\begin{maplelatex}
\mapleinline{inert}{2d}{f2 := 4.00*10^8}{\[\displaystyle {\it f2}\, := \, 400000000.0\]}
\end{maplelatex}
\end{maplegroup}
\begin{maplegroup}
\begin{mapleinput}
\mapleinline{active}{1d}{gm1 := solve(subs([A=A1,f=f1],eq),gm);}{}
\end{mapleinput}
\mapleresult
\begin{maplelatex}
\mapleinline{inert}{2d}{gm1 := (0.3264675251e-4*(3.141592654*Ro+12500.))/Ro}{\[\displaystyle {\it gm1}\, := \, 0.00003264675251\,{\frac { 3.141592654\,{\it Ro}\\
\mbox{}+ 12500.0}{{\it Ro}}}\]}
\end{maplelatex}
\end{maplegroup}
\begin{maplegroup}
\begin{mapleinput}
\mapleinline{active}{1d}{gm2 := solve(subs([A=A2,f=f2],eq),gm);}{}
\end{mapleinput}
\mapleresult
\begin{maplelatex}
\mapleinline{inert}{2d}{gm2 := (0.3302478410e-4*(3.141592654*Ro+1250.))/Ro}{\[\displaystyle {\it gm2}\, := \, 0.00003302478410\,{\frac { 3.141592654\,{\it Ro}\\
\mbox{}+ 1250.0}{{\it Ro}}}\]}
\end{maplelatex}
\end{maplegroup}
\begin{maplegroup}
\begin{mapleinput}
\mapleinline{active}{1d}{Rout := solve(gm1=gm2,Ro);}{}
\end{mapleinput}
\mapleresult
\begin{maplelatex}
\mapleinline{inert}{2d}{Rout := 3.088555558*10^5}{\[\displaystyle {\it Rout}\, := \, 308855.5558\]}
\end{maplelatex}
\end{maplegroup}
\begin{maplegroup}
\begin{mapleinput}
\mapleinline{active}{1d}{gmvalue := solve(subs([A=A1,f=f1,Ro=Rout],eq),gm);
}{}
\end{mapleinput}
\mapleresult
\begin{maplelatex}
\mapleinline{inert}{2d}{gmvalue := 0.1038840770e-3}{\[\displaystyle {\it gmvalue}\, := \, 0.0001038840770\]}
\end{maplelatex}
\end{maplegroup}
\begin{maplegroup}
\begin{mapleinput}
\mapleinline{active}{1d}{gmvalue := solve(subs([A=A2,f=f2,Ro=Rout],eq),gm);}{}
\end{mapleinput}
\mapleresult
\begin{maplelatex}
\mapleinline{inert}{2d}{gmvalue := 0.1038840770e-3}{\[\displaystyle {\it gmvalue}\, := \, 0.0001038840770\]}
\end{maplelatex}
\end{maplegroup}
\begin{maplegroup}
\begin{mapleinput}
\mapleinline{active}{1d}{Rout*gmvalue;
}{}
\end{mapleinput}
\mapleresult
\begin{maplelatex}
\mapleinline{inert}{2d}{32.08517434}{\[\displaystyle  32.08517434\]}
\end{maplelatex}
\end{maplegroup}
\begin{maplegroup}
\begin{mapleinput}
\mapleinline{active}{2d}{}{\[\]}
\end{mapleinput}
\end{maplegroup}
% \end{document}
